package net.xo68.destiny.starter.worker.handler;

import net.xo68.destiny.contract.domain.job.TriggerParameter;
import net.xo68.destiny.starter.worker.enums.JobLocalConfigType;
import net.xo68.destiny.starter.worker.logger.JobLogger;

/**
 * 本地配置存储工厂
 * @author wuxie
 * @version 2020-11-24
 */
public interface JobLocalConfigStoreFactory {

    JobLocalConfigStore create(JobLocalConfigType localConfigType, JobLogger jobLogger, TriggerParameter triggerParameter, String sourceSuffix);

    JobLocalConfigStore create(JobLocalConfigType localConfigType, JobLogger jobLogger, TriggerParameter triggerParameter, String sourceSuffix, String configSuffix);
}
